<template>
  <el-dialog
    :visible.sync="visible"
    :before-close="beforeClose"
    :close-on-click-modal="false"
    append-to-body
    title="视频设备"
    class="dialog-sm"
    top="30px"
    width="1000px"
  >
    <h5 class="device-subtitle">在线视频</h5>
    <after-video :farm-id="farmId"></after-video>
    <h5 class="device-subtitle mt-3">图片资料</h5>
    <after-capture :farm-id="farmId"></after-capture>
  </el-dialog>
</template>
<script>
import AfterVideo from '@/credit/views/city/self/after/video/VideoList'
import AfterCapture from '@/credit/views/city/self/after/capture/CaptureList'

export default {
  components: {
    AfterVideo,
    AfterCapture,
  },
  props: {
    visible: Boolean,
    farmId: String,
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>
<style lang="scss" scoped></style>
